home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM A / PD-ROM A.iso / HyperCard / Education / Triangles / card_4735.txt < prev    next >
Encoding:
Text File  |  1991-10-27  |  7.6 KB  |  306 lines

  1. -- card: 4735 from stack: in
  2. -- bmap block id: 5070
  3. -- flags: 4000
  4. -- background id: 3139
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on opencard
  8.   hide card field 2
  9.   hide card field 4
  10.   hide card field 5
  11. end opencard
  12.  
  13.  
  14. -- part 33 (field)
  15. -- low flags: 01
  16. -- high flags: 0004
  17. -- rect: left=150 top=129 right=159 bottom=326
  18. -- title width / last selected line: 0
  19. -- icon id / first selected line: 0 / 0
  20. -- text alignment: 1
  21. -- font id: 3
  22. -- text size: 18
  23. -- style flags: 1280
  24. -- line height: 24
  25. -- part name: 
  26. ----- HyperTalk script -----
  27. on mouseup
  28.   go to card 2
  29. end mouseup
  30.  
  31.  
  32. -- part 34 (field)
  33. -- low flags: 81
  34. -- high flags: 0007
  35. -- rect: left=79 top=56 right=205 bottom=454
  36. -- title width / last selected line: 0
  37. -- icon id / first selected line: 0 / 0
  38. -- text alignment: 0
  39. -- font id: 3
  40. -- text size: 12
  41. -- style flags: 0
  42. -- line height: 16
  43. -- part name: 
  44. ----- HyperTalk script -----
  45. On mouseup
  46.   hide card field 2
  47. end mouseup
  48.  
  49.  
  50. -- part 35 (button)
  51. -- low flags: 00
  52. -- high flags: A003
  53. -- rect: left=455 top=109 right=164 bottom=501
  54. -- title width / last selected line: 0
  55. -- icon id / first selected line: 32462 / 32462
  56. -- text alignment: 1
  57. -- font id: 0
  58. -- text size: 12
  59. -- style flags: 0
  60. -- line height: 16
  61. -- part name: Help
  62. ----- HyperTalk script -----
  63. on mouseUp
  64.   if visible of card field 2 then hide card field 2
  65.   else show card field 2
  66. end mouseUp
  67.  
  68.  
  69.  
  70. -- part 36 (button)
  71. -- low flags: 00
  72. -- high flags: A003
  73. -- rect: left=298 top=282 right=340 bottom=346
  74. -- title width / last selected line: 0
  75. -- icon id / first selected line: 20098 / 20098
  76. -- text alignment: 1
  77. -- font id: 0
  78. -- text size: 12
  79. -- style flags: 0
  80. -- line height: 16
  81. -- part name: Home
  82. ----- HyperTalk script -----
  83. on mouseUp
  84.   go home
  85. end mouseUp
  86.  
  87.  
  88.  
  89. -- part 37 (button)
  90. -- low flags: 00
  91. -- high flags: 2000
  92. -- rect: left=455 top=34 right=89 bottom=501
  93. -- title width / last selected line: 0
  94. -- icon id / first selected line: 0 / 0
  95. -- text alignment: 1
  96. -- font id: 0
  97. -- text size: 12
  98. -- style flags: 0
  99. -- line height: 16
  100. -- part name: Start
  101. ----- HyperTalk script -----
  102. on mouseUp
  103.   go card 2
  104. end mouseUp
  105.  
  106.  
  107.  
  108. -- part 38 (button)
  109. -- low flags: 00
  110. -- high flags: A003
  111. -- rect: left=233 top=282 right=339 bottom=282
  112. -- title width / last selected line: 0
  113. -- icon id / first selected line: 1006 / 1006
  114. -- text alignment: 1
  115. -- font id: 0
  116. -- text size: 12
  117. -- style flags: 0
  118. -- line height: 16
  119. -- part name: Quit
  120. ----- HyperTalk script -----
  121. on mouseUp
  122.   domenu quit HyperCard
  123. end mouseUp
  124.  
  125.  
  126.  
  127. -- part 39 (field)
  128. -- low flags: 01
  129. -- high flags: 0001
  130. -- rect: left=2 top=328 right=340 bottom=216
  131. -- title width / last selected line: 0
  132. -- icon id / first selected line: 0 / 0
  133. -- text alignment: 0
  134. -- font id: 3
  135. -- text size: 9
  136. -- style flags: 0
  137. -- line height: 10
  138. -- part name: ©
  139. ----- HyperTalk script -----
  140. ¬© 1990 by John Dabbas. All rights reserved.
  141.  
  142.  
  143. -- part 40 (button)
  144. -- low flags: 00
  145. -- high flags: A003
  146. -- rect: left=0 top=21 right=75 bottom=56
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 27056 / 27056
  149. -- text alignment: 1
  150. -- font id: 0
  151. -- text size: 12
  152. -- style flags: 0
  153. -- line height: 16
  154. -- part name: Legal
  155. ----- HyperTalk script -----
  156. on mouseUp
  157.   if visible of card field 4 then hide card field 4
  158.   else show card field 4
  159. end mouseUp
  160.  
  161.  
  162.  
  163. -- part 42 (field)
  164. -- low flags: 81
  165. -- high flags: 0007
  166. -- rect: left=56 top=22 right=125 bottom=376
  167. -- title width / last selected line: 0
  168. -- icon id / first selected line: 0 / 0
  169. -- text alignment: 0
  170. -- font id: 3
  171. -- text size: 12
  172. -- style flags: 0
  173. -- line height: 16
  174. -- part name: 
  175. ----- HyperTalk script -----
  176. On mouseup
  177.   hide card field 4
  178. end mouseup
  179.  
  180.  
  181. -- part 44 (button)
  182. -- low flags: 00
  183. -- high flags: A003
  184. -- rect: left=455 top=188 right=243 bottom=501
  185. -- title width / last selected line: 0
  186. -- icon id / first selected line: 1004 / 1004
  187. -- text alignment: 1
  188. -- font id: 0
  189. -- text size: 12
  190. -- style flags: 0
  191. -- line height: 16
  192. -- part name:   About...
  193. ----- HyperTalk script -----
  194. on mouseUp
  195.   if visible of card field 5 then hide card field 5
  196.   else show card field 5
  197. end mouseUp
  198.  
  199.  
  200.  
  201. -- part 45 (field)
  202. -- low flags: 81
  203. -- high flags: 0007
  204. -- rect: left=82 top=151 right=300 bottom=457
  205. -- title width / last selected line: 0
  206. -- icon id / first selected line: 0 / 0
  207. -- text alignment: 0
  208. -- font id: 3
  209. -- text size: 12
  210. -- style flags: 0
  211. -- line height: 16
  212. -- part name: 
  213. ----- HyperTalk script -----
  214. On mouseup
  215.   hide card field 5
  216. end mouseup
  217.  
  218.  
  219. -- part contents for card part 33
  220. ----- text -----
  221. Triangles
  222.  
  223. -- part contents for card part 34
  224. ----- text -----
  225.      Clicking on the "Start" button of this card takes you
  226.      to the main calculation card. Data is entered by
  227.      clicking on the angles or the sides of the triangle in
  228.      the "Input" part of the screen. You can enter data in
  229.      the form of either angles and sides (just enter the 
  230.      numbers in their locations) or in the form of 
  231.      coordinates; in which case the two numbers
  232.      comprising each set of coordinates (x and y) must
  233.      be separated by a "comma" and entered in the 
  234.      place of the angles.
  235.      You can enter either two or three sets of 
  236.      coordinates in any order irrespective of 
  237.      their relative locations. The result will show 
  238.      them in their proper orientaion depending on 
  239.      their actual values.
  240.      
  241.      Once data has been entered, simply click the 
  242.      "Calculate" button.
  243.      
  244.      The Clear button in the "Input" part of the screen
  245.      clears all previously entered data.
  246.      The Reset button in the "Output" part of the 
  247.      screen is meant to re-draw the screen lay out
  248.      only if some previously drawn triangles happen
  249.      to have extended beyond the intended boundaries
  250.      of the "Output" screen.
  251.       
  252.      Finally, the "Formula..." button takes you to
  253.      cards that display the basic trigonometric rules 
  254.      and formulas that are related to the calculation
  255.      of triangles.
  256.  
  257.      If you have only 1 megabite of RAM and get the "Not 
  258.      enough memory to run the Paint Tools"  message, 
  259.      then you need to remove some  disk accessories or
  260.      fonts from your System file. 
  261.  
  262. -- part contents for card part 39
  263. ----- text -----
  264. ¬© 1990 by John Dabbas. All rights reserved.
  265.  
  266. -- part contents for card part 42
  267. ----- text -----
  268. Triangles is a shareware product. It is not sold on store shelves or through the mail. Try it out for two weeks. If after that time you find Triangles helpful and you decide to keep it, then you must register the copy and pay your $15 shareware fee.  If you do not want to pay the fee then you must delete the program.
  269. You may pass it on to a friend but you must not delete or alter the button "Legal" or this field.
  270. In any case, I would appreciate hearing from you about your opinion.
  271. Send the fee to:  (only checks; please.)
  272.  
  273. John Dabbas
  274. 17093 West Bernardo Dr., #206
  275. San Diego, CA 92127
  276.  
  277. Site licenses can be negotiated.
  278.  
  279. -- part contents for card part 45
  280. ----- text -----
  281. Objective:
  282.     Triangles is a handy program for calculating and 
  283.     configuring triangles and coordinates using any
  284.     sufficient set of data.
  285.  
  286.     It is a very useful tool for the following category of 
  287.     people :
  288.        ‚Ä¢ Educational institutions
  289.        ‚Ä¢ Students using trigonometry and geometry
  290.        ‚Ä¢ Construction personnel and firms
  291.        ‚Ä¢ Land surveyors
  292.        ‚Ä¢ Civil engineers, architects and draftpersons
  293.        ‚Ä¢ Craftsmen
  294.      or any person who likes to keep handy programs 
  295.      tucked away in his library for use when needed.
  296.  
  297. What it does:
  298.     You enter data in the form of either a combination of
  299.     angles and side dimensions, or coordinate points.
  300.     Upon calculation, the result will be displayed both 
  301.     in table form and as a sketch of the triangle
  302.     drawn to scale.
  303.     In case more than one solution exists, a dual table 
  304.     and a superimposed sketch of both solutions will be
  305.     shown.
  306.